import request from "@/utils/request";
// 首页数据
export const companyAPI =(params)=>{
 return   request({
        url:'/companies/list',
        params
    })
}
//企业详情信息
export const companiesAPI =(id)=>{
    return   request({
           url:`/companies/${id}`,
 
       })
   }
//    企业评价
   export const cmpdetailsAPI =(params)=>{
    return   request({
     url:`/companies/${params.id}/comments`,
        params
       })
   }
   //获取企业职位信息
   export const positionsAPI =(params)=>{
    return   request({
     url:`/companies/${params.id}/positions`,
        params
       })
   }
//获取职位详情
export const satelistAPI =(id)=>{
    return   request({
     url:`/positions/${id}`
       })
   }